package com.example.a10;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Component
@Aspect
@Slf4j
public class MyAspect {
    @Before("execution(* com.example.a10.MyService.*())")
    public static void before() {
        log.info("before()");
    }
}
